This Crate is Deprecated
This is an old implementation crate for Silkenweb that is no longer used.
A library for building reactive single page web apps.
Features
- Fine grained reactivity using signals to minimize DOM API calls
- No VDOM. Calls to the DOM API and your rendering code are minimized using signals.
- Uses plain Rust syntax rather than a macro DSL
- Downcasts Js objects for you where the type is known at compile time. For example:
input().dom_element()
returns aweb_sys::HtmlInputElement
button().on_click(...)
passes your event handler aweb_sys::HtmlInputElement
and aweb_sys::MouseEvent
.
Example: A Simple Counter
use ;
Quick Start
Learning
- Learning Silkenweb With Entirely Too Many Counters
- Check out the examples folder